<!--
/**
 * Template Listagem
 * @author Erich Oliveira <ericholiveira@gmail.com>
 * @date 23/12/2011
 */
-->
<!--
/**
 * Template registros
 * @author Erich Oliveira <ericholiveira@gmail.com>
 * @date 23/12/2011
 */
-->
<link REL="stylesheet" href="include/style.css" type="text/css">
<!--[if IE]>
<link REL="stylesheet" href="include/styleIE.css" type="text/css">
<![endif]-->
{BEGIN style_block}
<style>
#height100{$id} {padding:1px;}
#toplinks_caption{$id} {padding:0px 1px;font-size:12px;font-weight:bold;}
#mastertable_block{$id} {margin-left:50px;margin-top:2px}
#toplinks_block{$id} {width:100%;padding:0px;padding-left:30px}
#toplinks_block{$id} span {padding-left:1px;}
#search_records_block{$id} { padding-left:5px;}
#search_records_block{$id} > * {vertical-align:middle;}
#search_records_block{$id} select {margin:3px 0px;}
#login_block{$id} {padding:10px; margin-bottom:3px}
#login_block{$id} * {margin-left:5px; padding:5px 0px;}
#menu_block{$id} {padding:10px;}
#menu_block{$id} * {list-style-type:none;}
#menu_block{$id} IMG {vertical-align:middle;}
#record_controls{$id} {padding:10px 10px;text-align: left;}
#record_controls{$id} span{padding-left:10px;}
#recordcontrolsadd_block{$id} {padding:10px 10px;border: solid; border-width: 1px; border-color: #C0C0C0;text-align: right;}
#grid_block{$id} {border:solid 1px #C0C0C0;}
.listIcons img.listIcon{margin:0 3px;opacity:0.3;filter:alpha(opacity=30);}
.grid_recordheader {padding-top:5px;}
.grid_recordheader a {margin:0 5px;}
body {margin:20px;padding:10px;}
.bottomPanelBorder{
	/*margin-right: 10px;*/
	padding-bottom: 18px;
	border-left: 1px solid #C0C0C0;
	border-right: 1px solid #C0C0C0;
	border-bottom: 1px solid #C0C0C0;
}
#searchform{$id}{float: left;}
#searchPanelContainer{$id}{
	width: 200px;
	float: left;
	position:absolute;
}
.searchOptions {margin-top: -10px;}
/*report styles*/
#export_links{$id} * {}
</style>
{END style_block}
{BEGIN iestyle_block}
<!--[if IE]>
<style>
.grid {height:100%;}
</style>
<![endif]-->
{END iestyle_block}
</head>
<body marginheight=0 marginwidth=0 {$bodyattrs}>
{BEGIN body}
{$header}
<div id="height100{$id}">

{BEGIN toplinks_block}
<div id="toplinks_block{$id}">
<h2><b>Gestão&nbsp;à&nbsp;Vista&nbsp;Acompanhamento</b></h2>










</div>
{END toplinks_block}

{BEGIN search_records_block} 
<div id="recordcontrolsadd_block{$id}" class="shade">
	<span id="search_records_block{$id}" class="shade">
		{BEGIN searchform}
		<!-- Search panel header for horizontal layouts -->
		<span id="searchform{$id}" align="absmiddle">
	<span id="searchPanelHeader{$id}">  
		{$simpleSearchFieldCombo}
		
		{$simpleSearchTypeCombo}
		
		{BEGIN searchform_text}
		<input type="text" {$searchfor_attrs} size="25">
		{END searchform_text}
		&nbsp;
		{BEGIN searchform_search}
			<span class=buttonborder><input type=button class="button" value="Buscar" {$searchbutton_attrs}></span> 
            
		{END searchform_search}
		&nbsp;
		{BEGIN searchform_showall}	
		<span id="showall{$id}" class="buttonborder" {$showAllCont_attrs}><input type="button" class="button" value="Mostrar Todos" {$showallbutton_attrs}></span>
		{END searchform_showall}
	</span>
	{BEGIN searchPanelTopButtons}
	<span>
		<!--&nbsp;
		<span class="buttonborder"><input class="button" type="button" id="showSrchWin{$id}" style="width: 18px; background-image: url(images/search/showWindowPin.gif);" {$showHideSearchWin_attrs} ></span>
        -->
		&nbsp;		
	<span class="buttonborder"><input class="button" type="button" id="showOptPanel{$id}" style="background-image: url(images/search/showOptions.gif);" {$showHideSearchPanel_attrs} ></span>

	</span>
	{END searchPanelTopButtons}
</span> 
	{END searchform}

		{BEGIN details_block}
		<span  {$details_attrs}>Ítens Encontrados: <b>{$records_found}</b>&nbsp;&nbsp;&nbsp;&nbsp;</span>
	{END details_block}

	{BEGIN pages_block}
		<span {$pages_attrs}>Página <b>{$page}</b> de <b>{$maxpages}</b></span>
	{END pages_block}

		&nbsp;&nbsp;&nbsp;&nbsp;
	{BEGIN recordspp_block}	<!-- class="center_block" -->
			{$recsPerPage}
	{END recordspp_block}
	</span>
</div>
{END search_records_block} 


<!-- search panel and window -->
<div id="searchPanelContainer{$id}" class="searchPanelContainer">
{$adv_search_panel}
</div>

<div moveForSearch="move{$id}" {$marginStyle}>

{BEGIN recordcontrols_block}
<div id="record_controls{$id}">{$lookupSearchControls}
{BEGIN record_controls}
<span id="record_controls{$id}2"> 
        
        
        
         </span>
{END record_controls}
</div>
{END recordcontrols_block}
<div class="message" id="usermessage{$id}">{$user_message}</div>


{BEGIN grid_block}


<table name="maintable" class="display" cellspacing=2 cellpadding=3 border=0 id="grid_block{$id}">
{BEGIN grid_header}
<thead>
<tr valign="top" {$gridHeader_attrs}>
{BEGIN record_header}

{BEGIN listIcons_column}
	<th align="center" class="blackshade" {$widthListIcons} iEditCont="all" nowrap="nowrap">&nbsp;</th>
{END listIcons_column}



{BEGIN link_fieldheadercolumn}
<th class="blackshade" align="center">&nbsp;
Grafico
&nbsp;
</th>
{END link_fieldheadercolumn}
{BEGIN id_macroprocessos_fieldheadercolumn}
<th class="blackshade" align="center">&nbsp;
{BEGIN id_macroprocessos_fieldheader}
<a class="defblackshade" {$id_macroprocessos_orderlinkattrs}>Macroprocesso</a>
{END id_macroprocessos_fieldheader}
&nbsp;
</th>
{END id_macroprocessos_fieldheadercolumn}
{BEGIN id_indicador_estrategico_fieldheadercolumn}
<th class="blackshade" align="center">&nbsp;
{BEGIN id_indicador_estrategico_fieldheader}
<a class="defblackshade" {$id_indicador_estrategico_orderlinkattrs}>Indicador Estrategico</a>
{END id_indicador_estrategico_fieldheader}
&nbsp;
</th>
{END id_indicador_estrategico_fieldheadercolumn}
{BEGIN meta_validada_fieldheadercolumn}
<th class="blackshade" align="center">&nbsp;
{BEGIN meta_validada_fieldheader}
<a class="defblackshade" {$meta_validada_orderlinkattrs}>Meta</a>
{END meta_validada_fieldheader}
&nbsp;
</th>
{END meta_validada_fieldheadercolumn}
{BEGIN meta_validada_fieldheadercolumn}
<th class="blackshade" align="center">&nbsp;
{BEGIN meta_validada_fieldheader}
<a class="defblackshade" {$meta_validada_orderlinkattrs}>Meta</a>
{END meta_validada_fieldheader}
&nbsp;
</th>
{END meta_validada_fieldheadercolumn}
{BEGIN nome_indicador_fieldheadercolumn}
<th class="blackshade" align="center">&nbsp;
{BEGIN nome_indicador_fieldheader}
<a class="defblackshade" {$nome_indicador_orderlinkattrs}>Nome Indicador</a>
{END nome_indicador_fieldheader}
&nbsp;
</th>
{END nome_indicador_fieldheadercolumn}
{BEGIN id_ano_planejamento_fieldheadercolumn}
<th class="blackshade" align="center">&nbsp;
{BEGIN id_ano_planejamento_fieldheader}
<a class="defblackshade" {$id_ano_planejamento_orderlinkattrs}>Ano</a>
{END id_ano_planejamento_fieldheader}
&nbsp;
</th>
{END id_ano_planejamento_fieldheadercolumn}
{BEGIN id_unidades_fieldheadercolumn}
<th class="blackshade" align="center">&nbsp;
{BEGIN id_unidades_fieldheader}
<a class="defblackshade" {$id_unidades_orderlinkattrs}>Unidade</a>
{END id_unidades_fieldheader}
&nbsp;
</th>
{END id_unidades_fieldheadercolumn}
{BEGIN endrecordheader_block}
<th>&nbsp;</th>
{END endrecordheader_block}

{END record_header}
</tr>
</thead>
{END grid_header}

<tbody>
{BEGIN grid_row}
<tr valign="top" {$rowstyle} {$rowattrs}> 
{BEGIN grid_record}

{BEGIN listIcons_column}
	<td align="left" class="listIcons" iEditCont="all" valign="middle" nowrap="nowrap">
	
	
	
		</td>
{END listIcons_column}	



{BEGIN link_fieldcolumn}
<td valign="middle" {$link_style}>
{$link_value}
</td>
{END link_fieldcolumn}
{BEGIN id_macroprocessos_fieldcolumn}
<td valign="middle" {$id_macroprocessos_style}>
{$id_macroprocessos_value}
</td>
{END id_macroprocessos_fieldcolumn}
{BEGIN id_indicador_estrategico_fieldcolumn}
<td valign="middle" {$id_indicador_estrategico_style}>
{$id_indicador_estrategico_value}
</td>
{END id_indicador_estrategico_fieldcolumn}
{BEGIN meta_validada_fieldcolumn}
<td valign="middle" {$meta_validada_style}>
{$meta_validada_value}
</td>
{END meta_validada_fieldcolumn}
{BEGIN meta_validada_fieldcolumn}
<td valign="middle" {$meta_validada_style}>
{$meta_validada_value}
</td>
{END meta_validada_fieldcolumn}
{BEGIN nome_indicador_fieldcolumn}
<td valign="middle" {$nome_indicador_style}>
{$nome_indicador_value}
</td>
{END nome_indicador_fieldcolumn}
{BEGIN id_ano_planejamento_fieldcolumn}
<td valign="middle" {$id_ano_planejamento_style}>
{$id_ano_planejamento_value}
</td>
{END id_ano_planejamento_fieldcolumn}
{BEGIN id_unidades_fieldcolumn}
<td valign="middle" {$id_unidades_style}>
{$id_unidades_value}
</td>
{END id_unidades_fieldcolumn}

{BEGIN endrecord_block}
<td class="body2" {$endrecordblock_attrs}>&nbsp;</td>
{END endrecord_block}
{END grid_record}
</tr>
{END grid_row}
</tbody>

{BEGIN totals_row}
<tfoot>
<tr rowid="totals">
{BEGIN totals_record}
{BEGIN listIcons_column}
	<td align="center" class="blackshade" nowrap="nowrap">&nbsp;</td>
{END listIcons_column}
	


{BEGIN link_fieldfootercolumn}
<td valign=middle align=center class="blackshade">
&nbsp;
</td>
{END link_fieldfootercolumn}
{BEGIN id_macroprocessos_fieldfootercolumn}
<td valign=middle align=center class="blackshade">
&nbsp;
</td>
{END id_macroprocessos_fieldfootercolumn}
{BEGIN id_indicador_estrategico_fieldfootercolumn}
<td valign=middle align=center class="blackshade">
&nbsp;
</td>
{END id_indicador_estrategico_fieldfootercolumn}
{BEGIN meta_validada_fieldfootercolumn}
<td valign=middle align=center class="blackshade">
&nbsp;
</td>
{END meta_validada_fieldfootercolumn}
{BEGIN meta_validada_fieldfootercolumn}
<td valign=middle align=center class="blackshade">
&nbsp;
</td>
{END meta_validada_fieldfootercolumn}
{BEGIN nome_indicador_fieldfootercolumn}
<td valign=middle align=center class="blackshade">
&nbsp;
</td>
{END nome_indicador_fieldfootercolumn}
{BEGIN id_ano_planejamento_fieldfootercolumn}
<td valign=middle align=center class="blackshade">
&nbsp;
</td>
{END id_ano_planejamento_fieldfootercolumn}
{BEGIN id_unidades_fieldfootercolumn}
<td valign=middle align=center class="blackshade">
&nbsp;
</td>
{END id_unidades_fieldfootercolumn}

{BEGIN endrecordtotals_block}
<td>&nbsp;</td>
{END endrecordtotals_block}
{END totals_record}
</tr>
</tfoot>
{END totals_row}
</table>

{END grid_block}



{BEGIN pagination_block}
<div id="pagination_block{$id}" align="center" class="toplist" >{$pagination}</div>
{END pagination_block}

{BEGIN message_block}
<div id="message_block{$id}" align=center valign=middle class=toplist><b>{$message}</b></div>
{END message_block}

</div>
{END body}
{$footer}

